Skip to content

feat(posts): accept default accounts on bulk import - #44

Merged
alihesari merged 1 commit into
mainfrom
feature/bulk-import-accounts
Nov 10, 2026
Merged

alihesari merged 1 commit into
mainfrom
feature/bulk-import-accounts

Conversation

@alihesari

Copy link
Copy Markdown
Member

validateBulkImport() and commitBulkImport() take an optional $accounts array of account ids or platform names. It is sent as a comma-separated accounts form field and applies to every CSV row whose own accounts cell is empty. The field is omitted when the array is empty.

Tested: ./vendor/bin/phpunit (238 tests), ./vendor/bin/phpcs clean. The bulk import test asserts the field is sent when given and absent when not.

Refs fopost/fopost#1219

@alihesari
alihesari merged commit 7558d21 into main Nov 10, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant